﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FactoryMethodPattern.Simplified
{
    class FileLoggerFactory : LoggerFactory
    {
        public override Logger CreateLogger()
        {
            //创建文件日志记录器对象
            Logger logger = new FileLogger();
            //创建文件，代码省略
            return logger;
        }
    }
}
